CoreJsClientEngine

internal class CoreJsClientEngine(val config: JsClientEngineConfig) : HttpClientEngineBase

Constructors

Link copied to clipboard
constructor(config: JsClientEngineConfig)

Properties

Link copied to clipboard
private val closed: AtomicBoolean
Link copied to clipboard
open override val config: JsClientEngineConfig
Link copied to clipboard
Link copied to clipboard
open override val dispatcher: CoroutineDispatcher
Link copied to clipboard
private val engineName: String
Link copied to clipboard
open override val supportedCapabilities: Set<HttpClientEngineCapability<out Any>>

Functions

Link copied to clipboard
internal fun CoroutineScope.channelFromStream(stream: ReadableStream<Uint8Array>): ByteReadChannel
Link copied to clipboard
private fun checkExtensions(requestData: HttpRequestData)
Link copied to clipboard
open override fun close()
Link copied to clipboard
private fun createWebSocket(urlString_capturingHack: String, headers: Headers): WebSocket
Link copied to clipboard
open suspend override fun execute(data: HttpRequestData): HttpResponseData
Link copied to clipboard
private suspend fun executeWebSocketRequest(request: HttpRequestData, callContext: CoroutineContext): HttpResponseData
Link copied to clipboard
private suspend fun executeWithinCallContext(requestData: HttpRequestData): HttpResponseData
Link copied to clipboard
open fun install(client: HttpClient)
Link copied to clipboard
internal suspend fun CoroutineScope.readBody(response: Response): ByteReadChannel
Link copied to clipboard
internal suspend fun CoroutineScope.readBodyBrowser(response: Response): ByteReadChannel